package com.graducationdesign.springboot.entities.Administrator.GraducationDesignListMoudle;

import javax.persistence.Id;
import java.util.Date;

/**
 * @author Mr.zhneg
 * @create 2019-11-24-10:45
 */
public class AttachmentInformation {

    @Id
    private Integer id;
    private String name;
    private String filepath;
    private Date createtime;
    private Integer sid;

    public AttachmentInformation(){

    }
    public AttachmentInformation(Integer id, String name, String filepath, Date createtime, Integer sid) {
        this.id = id;
        this.name = name;
        this.filepath = filepath;
        this.createtime = createtime;
        this.sid = sid;
    }

    @Override
    public String toString() {
        return "AttachmentInformation{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", filepath='" + filepath + '\'' +
                ", createtime='" + createtime + '\'' +
                ", sid=" + sid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }
}
